package com.csw.foodRecommendation.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.csw.foodRecommendation.entity.Cate2;

/**
 * @author 1
 */
@Mapper
public interface Cate2Dao {
	List<Cate2> queryAll();

	void add(@Param("c") Cate2 cate2);

	List<Cate2> findBy(String parentId);

	Cate2 queryByid(String pid);
}
